---
title: WorksheetFunction.Decimal Method (Excel)
keywords: vbaxl10.chm137445
f1_keywords:
- vbaxl10.chm137445
ms.prod: excel
ms.assetid: 22d4d99b-2705-1078-06de-48ab4affe70b
ms.date: 06/08/2017
---


# WorksheetFunction.Decimal Method (Excel)

Converts a text representation of a number in a given base into a decimal number.


## Syntax

 _expression_ . **Decimal**_(Arg1,_ _Arg2)_

 _expression_ A variable that represents a[WorksheetFunction Object (Excel)](worksheetfunction-object-excel.md) object.


### Parameters



|**Name**|**Required/Optional**|**Data type**|**Description**|
|:-----|:-----|:-----|:-----|
| _Arg1_|Required|STRING|The number that you want to convert.|
| _Arg2_|Required|DOUBLE|The base Radix of the number you are converting.|

### Return value

 **DOUBLE**


## See also


#### Concepts


[WorksheetFunction Object](worksheetfunction-object-excel.md)

